function BeforeFind(id, query) {
    console.log("-----------BeforeFind------------------");
    console.log("id",id);
    console.log("query",query);
    return [id, query];
  }

  function Find(id, query) {
    console.log("-----------Find------------------");
    console.log("id",id);
    console.log("query",query);

    return [];
  }
    
  function Search(...args) {
    console.log("-----------Search------------------");
    console.log("args",args);
    let param = {
      wheres: [
        { column: "name", op: "like",value: "%bab%" }
      ],
      orders: [{ column: "name", option: "desc"}],
      limit: 100
    }

    var res = Process("models.pet.Paginate", param,1,10);
   

    return res;
  }
      
  